//
//  ImageListViewController.h
//  reacticons
//
//  Created by Admin on 6/20/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIGridView.h"
#import "PopUpViewController.h"

typedef enum {
    DownloadProcessing,
    DownloadSuccess,
    DownloadFailed,
} DownloadState;

@interface ImageListViewController : UIViewController <UIGridViewDelegate,UIGridViewDataSource, PopUpViewDelegate>
{
    UIGridView * gridView;
    PopUpViewController * popUpBar;
    
    NSMutableArray * imageListArray;
    NSMutableArray * listSelected;
    NSMutableArray * listOfFlags;
    
    NSString * parentID;
    
    NSInteger numberOfDownloadedFile;
    NSInteger selectedCellIndex;
    
    BOOL isMultipleSelection;
    DownloadState isDownloaded;
    int popupBtnTagClicked;
    BOOL isDownloadedByPopup;
    
    IBOutlet UINavigationBar *saveMultiToolBar;
    IBOutlet UIBarButtonItem *saveBtn;
    IBOutlet UINavigationItem *textlb;
    
    IBOutlet UILabel *copyLabel;
    
    UILabel *popupLabel;
}

@property (nonatomic, retain) NSString * parentID;

@end
